<template>
  <div class="detail">
    <div class="breadcrumb-area">
      <div class="content">
        <div class="breadcrumb">
          <a href="/">首页</a>
          <a class="active">应用示例</a>
        </div>
        <div class="title">图表示例1 柱状图表</div>
      </div>
    </div>
    <div class="demo">
      <Chart
      />
    </div>
    <div class="product-desc">
      <div class="container">
        <div class="attribute">
          <div class="title">概述</div>
          <p>
            ApexCharts图表模拟从后端读取数据示例，模拟数据详见代码
          </p>
        </div>
        <div class="attribute">
          <div class="title">文件代码路径</div>
          <p>
            src/views/materials/example/example1/Chart.vue
          </p>
        </div>
        <div class="attribute">
          <div class="title">依赖</div>
          <p>
            view-design、apexcharts、vue-apexcharts
          </p>
        </div>
      </div>
    </div>
    <Action />
  </div>
</template>

<script>
import VueJsonPretty from "vue-json-pretty";
import { props, events, methods } from "@/libs/columns";
import Chart from "./Chart.vue";
import Action from "@/views/detail/Action.vue";
export default {
  name: "component",
  components: { Chart, Action, VueJsonPretty },
  data() {
    return {
      props: props,
      events: events,
      methods: methods,
    };
  },
  methods: {},
  mounted() {},
};
</script>

<style scoped lang="less">
@import "@/views/detail/detail.less";
.demo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  height: 600px;
}
</style>
